<?php
$this->breadcrumbs = array(
	'材料列表' => array(
		'material/index'
	),
	$model->material->name => array(
		'material/view',
		'id' => $model->materialId
	),
	'型号列表' => array(
		'index',
		'materialId' => $model->materialId
	),
	'新建型号',
);

$this->userActions = array(
	array(
		'label' => '管理 ' . $model->material->name . ' 型号',
		'url' => array(
			'admin',
			'materialId' => $model->materialId,
		),
		'visible' => Yii::app()->user->checkAccess('materialManage'),
	),
);
?>

<h1>新建型号： <?php echo $model->material->name; ?></h1>
<?php echo $this->renderPartial('_form', array(
		'model' => $model
	));
?>
